#include "scene.h"
#include "terminal_device.h"
#include "id_generator.h"
#include <iostream>

int main()
{
  IdGenerator& gen = IdGenerator::getInstance();
  Scene scene;
  TerminalDevice device(scene, std::cout);
  device.init();
  device.update();
  scene.addElement(new Sphere(gen(), Vector3(1.0, 1.0, 1.0), 2.0, Material(1.0, 0.0, 0.0, 1.0)));
  scene.addElement(new Cylinder(gen(), Vector3(), 5.0, 0.5, Vector3(1.0, 1.0, 1.0), Material()));
  device.updateAll();
  device.update();
  return 0;
}
